Piwik\Updater B

Total Complexity 81
Dependencies 18
Dependents 57
Total lines 537
Lines of code 294
Logical lines of code 198
Comment lines 186
Methods 22
Properties 9

Methods 22

Method Rating Maintainability Complexity Lines of code
updateComponents()
A
44 11 44
loadComponentsWithUpdateFile()
A
46 11 36
getSqlQueriesToExecute()
S
50 7 27
getComponentsWithNewVersion()
S
51 7 25
update()
S
50 6 28
getComponentUpdates()
S
54 5 20
executeSingleUpdateClass()
S
60 4 13
__construct()
S
63 4 10
executeMigration()
S
61 3 12
getCurrentComponentVersion()
S
61 3 12
getUpdateClassName()
S
62 3 11
markComponentSuccessfullyUpdated()
S
62 3 11
markComponentSuccessfullyUninstalled()
S
68 2 7
executeMigrations()
S
70 2 6
executeListenerHook()
S
73 2 5
keepBcForOldMigrationQueryFormat()
S
68 2 7
hasMajorDbUpdate()
S
82 1 3
hasNewVersion()
S
79 1 3
addUpdateObserver()
S
80 1 3
getComponentsWithUpdateFile()
S
73 1 5
recordComponentSuccessfullyUpdated()
S
79 1 3
getNameInOptionTable()
S
80 1 3